Neurosis Engine
Classes | Public Member Functions | Public Attributes
CNeurosisController Class Reference

#include <io_misc.h>

List of all members.

Classes

class  CJoystick
class  CKeyboard
class  CMouse

Public Member Functions

 CNeurosisController (int iType=MOUSE)
 ~CNeurosisController ()
 Constructor/Deconstructor.
void Clear ()
 Clear button and movement input.
bool Interval (float2 *key, float interval)
 Check whether button press is within interval.
void Update (float timeStep, bool mouseBoundsReset)
 Update joystick/keyboard button/movement information.

Public Attributes

CJoystick mJoystick
CKeyboard mKeyboard
CMouse mMouse
float2 mButton [9]
float2 mDirection [4]
int mType

Constructor & Destructor Documentation

Constructor/Deconstructor.


Member Function Documentation

Clear button and movement input.

bool CNeurosisController::Interval ( float2 key,
float  interval 
)

Check whether button press is within interval.

void CNeurosisController::Update ( float  timeStep,
bool  mouseBoundsReset 
)

Update joystick/keyboard button/movement information.


Member Data Documentation


The documentation for this class was generated from the following file: